package mspbots.autotask.data.core.appointments;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

@Data
@Builder
@Table("autotask_appointments")
public class Appointment {

    @Id
    private Long id;
    private Long tenantId;
    private Long otherId;
    private LocalDateTime syncTime;
    private LocalDateTime updatedTime;
    private LocalDateTime createdTime;
    private JsonNode entity;
}
